package com.pet.system;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.pet.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 *
 * </p>
 *
 * @author whd
 * @since 2023-08-04
 */
@Data
@ApiModel(description = "信息表")
@TableName("sys_notice")
public class SysNotice extends BaseEntity {

    private static final long serialVersionUID = 1L;


    /**
     * 会诊id
     */
    @ApiModelProperty(value = "会诊id")
    @TableField("consultation_id")
    private String consultationId;

    /**
     * 信息（有可能是字符串或图片链接）
     */
    @ApiModelProperty(value = "信息")
    @TableField("message")
    private String message;

    /**
     * 医生执业编号
     */
    @ApiModelProperty(value = "医生执业编号")
    @TableField("license_number")
    private String licenseNumber;

    /**
     * 发布用户id
     */
    @ApiModelProperty(value = "发布用户id")
    @TableField("user_id")
    private Long userId;


    /**
     * 消息类型（string为字符串，image为图片链接）
     */
    @ApiModelProperty(value = "消息类型")
    @TableField("type")
    private String type;


}
